#pragma once

namespace shared
{
    //
    std::wstring AnsiToUnicode(const char *input);
    std::string UnicodeToAnsi(const wchar_t *input);
    std::string AnsiToUTF8(const char *input);
    std::string UTF8ToAnsi(const char *input);
    std::string UnicodeToUTF8(const wchar_t *input);
    std::wstring UTF8ToUnicode(const char *input);
    std::string UrlEncode(std::wstring s);

	std::string Trim(const std::string& text, std::string space = "\t\n\v\f\r ");
	std::string TrimLeft(const std::string& text, std::string space = "\t\n\v\f\r ");
	std::string TrimRight(const std::string& text, std::string space = "\t\n\v\f\r ");
}